package cn.nextProject.service;

import cn.nextProject.entity.UserRoleGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleGroupService {

    /**
     * 查询角色组用户
     * @param roleGroupId
     * @return
     */
    UserRoleGroup findOne(Long roleGroupId,String username,String realname);

    void saveBatch(List<UserRoleGroup> userRoleGroupList);

    void delete(Long id);

}
